/**
 * 
 */
package org.cuatrovientos.kart;

/**
 * @author berrade
 *
 */
public class Circuit {

	private String name;
	private int km;
	
	/**
	 * constructor of the circuit
	 * 
	 * @param name
	 * @param km 
	 */
	public Circuit(String name, int km) {
		super();
		this.name = name;
		this.km = km;
	}
	
	
	
	/**
	 * get large km of circuit
	 * 
	 * @return
	 */

	public int getKm() {
		return km;
	}





	/**
	 * set large km of circuit
	 * 
	 * @param km
	 */

	public void setKm(int km) {
		this.km = km;
	}







	/**
	 * To string method for the circuit and their km
	 */
	
	
	
	@Override
	public String toString() {
		return "Circuit [name=" + name + ", km=" + km + "]";
	}
	
	
	
}
